export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/add-record/index',
    'pages/profile/index',
    "pages/profile-edit/index",
    "pages/login/index"
  ],
  permission: {
    "scope.userLocation": {
      "desc": "你的位置信息将用于小程序位置接口的坐标展示"
    }
  },
  requiredPrivateInfos: [
    "getLocation"
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#999',
    selectedColor: '#137a52',
    backgroundColor: '#fff',
    borderStyle: 'black',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '日记',
        iconPath: './assets/record-gray.png',
        selectedIconPath: './assets/record.png'
      },
      {
        pagePath: 'pages/profile/index',
        text: '我的',
        iconPath: './assets/my-gray.png',
        selectedIconPath: './assets/my.png'
      }
    ]
  },
})
